.inputArea {

}

.page {

}

.main {

}

.question {
  margin: 10px 5% 10px 5%;
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  height: 312px;
  max-height: 312px;
  background-color: #ffffff;
  text-align: center;
  box-shadow: 0px 2px 7px 0px rgba(179, 179, 179, 0.4);
}

.question .sentence {
  line-height: 1.35;
  justify-content: center;
  align-content: center;
}
.question .sentence p {
  margin: 0;
}

.question .illustration {

}

.answer {
  background-color: #ffffff;
  width: 100%;
}
.answer-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  min-height: 320px;
  margin: 0px auto;
}
.answer .virtual-row {
  display: table-row;
}
.answer .child-no {
  display: table-cell;
  text-align: center;
}
.answer .content-group {
  display: flex;
  flex: 1;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  vertical-align: middle;
  padding: 1em;
}

.answer .content {
  display: flex;
  margin: 0 auto;
  width: 100%;
  &.column {
    flex-direction: column;
    padding: 0 1rem;
  }
}

.answer .content + .content {
  margin-top: 14px;
}
.answer .content dt {
  display: flex;
  width: 4rem;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  white-space: nowrap;
}
.answer .content dd {
  display: flex;
  flex: 3;
  justify-content: center;
  align-items: flex-start;
  margin-left: 0px;

}
.SelectButtonGroup{
  display: flex;

}
.SelectButton {
  flex: 1;
}
.answer .content.disabled * {
  color: #bac1cb;
}

.answer .content dd .SelectButtonGroupContainer,
.answer .content dd .SelectButtonGroup,
.answer .content dd .SelectItemListContainer,
.answer .content dd .SelectItemList {
  width: 100%;
}

.answer .content.input-number {
  display: block;
  text-align: center;
}
.answer .content.input-number dt {
  min-width: 295px;
  width: 50%;
  white-space: nowrap;
  text-align: left;
}
.content.input-number dd {
  min-width: 245px;
  width: 50%;
  white-space: nowrap;
  text-align: left;
}

.remark {
  color: #6f788b;
  font-size: 28px;
}

div.remark {
  text-align: center;
  margin-top: 44px;
}

div.remark > p {
  display: inline-block;
  text-align: left;
  margin-top: 0px;
}

ul.remark {
  margin: 16px 0px 0px 0px;
  padding: 0px;
  list-style-type: none;
  font-size: 20px;
}
ul.remark li::before {
  content: "・";
}
ul.remark li {
  margin: 14px 0px 0px 0px;
}

div.child-no {
  padding-top: 0px;
  padding-bottom: 0px;
}

.otherwise {
  color: #0e7cdc;
  text-align: center;
}

.otherwise p {
  margin: 15px 0px;
}

.unit {
  font-size: 26px;
  padding-left: 17px;
}

.reference {
  font-size: 28px;
}

/* Q4.飲酒頻度、Q5.飲酒量 共通 */
.guidance-alcohol-amount,
.guidance-alcohol-frequency {
  text-align: center;
}
.guidance-alcohol-amount p,
.guidance-alcohol-frequency p {
  display: inline-block;
  text-align: left;
}

/* Q4.飲酒頻度 */
.guidance-alcohol-frequency p {
  margin-top: 0px;
}

/* Q5.飲酒量 */
.alcohol-amount .content-group {
  padding: 6px 0px 80px 0px;
}
.alcohol-amount .answer .content,
.alcohol-amount .answer .content + .content {
  margin-top: 40px;
}
.alcohol-amount .content dt,
.alcohol-amount .content dd {
  display: block;
}
.alcohol-amount .content dd {
  margin-top: 20px;
}

/* Q6.運動習慣 */
.exercise-habit .content-group {
  padding-bottom: 10px;
}

.guidance-exercise {
  padding-top: 7px;
  margin-bottom: -17px;
  text-align: center;
}

/* Q9.血糖値 */
.guidance-bloodsugar {
  margin-bottom: 38px;
  text-align: center;
}

.guidance-exercise > p,
.guidance-bloodsugar > p {
  margin-top: 0px;
}

/* Q12(1).コレステロール（HDL） */
.post-ref-hdl {
  margin: 64px auto 129px auto;
  text-align: center;
}
.hdl-cholesterol .content-group {
  vertical-align: top;
}

/* Q12(2).コレステロール（LDL） */
.ldl-cholesterol .content-group {
  padding-bottom: 28px;
}
.Scroll .scrollarea.reference-of-abnormal {
  height: 85%;      /* for Android 標準ブラウザ */
  height: calc(90vh - 150px);
  max-height: 600px;
}
.Scroll .scrollarea.reference-of-abnormal p:first-child {
  margin-top: 0;
}

/* Q11.血圧 */
.answer .content dt.blood-pressure{
  min-width: 10rem;
  padding-left: 20px;
}

/* Q12.LDLコレステロール、中性脂肪 */
.answer .content dt.cholesterol{
  min-width: 10rem;
  padding-left: 20px;
}
/*************************************************************************************************
 * タブレット・デスクトップ向け
 *************************************************************************************************/
@media screen and (min-width:641px) {
  .question {
    height: 334px;
    max-height: 334px;
    margin: 15px 5% 15px 5%;
    padding-top: 28px;
  }

  .answer-container {
    width: 575px;
    height: 336px;
    max-width: 640px;
    min-height: 336px;
  }

  .answer .content + .content {
    margin-top: 16px;
  }

  .answer .content dt {
    min-width: 88px;
  }
  .answer .content dd {
    min-width: 372px;
  }

  .answer .content.input-number dt {
    min-width: 295px;
    width: 50%;
  }
  .answer .content.input-number dd {
    min-width: auto;
    width: 50%;
  }



  .answer {
    font-size: 23px;
  }

  .remark {
    font-size: 22px;
  }

  ul.remark {
    font-size: 20px;
  }

  div.child-no {
    padding: 10px 0;
  }

  .unit {
    font-size: 20px;
  }

  .reference {
    font-size: 23px;
  }

  /* Q5.飲酒量 */
  .alcohol-amount .content-group {
    padding: 8px 0px 50px 0px;
  }

  /* Q6.運動習慣 */
  .exercise-habit .content-group {
    padding-bottom: 20px;
  }

  .guidance-exercise {
    padding-top: 2px;
    margin-bottom: -7px;
  }

  /* Q12(2).コレステロール（LDL） */
  .ldl-cholesterol .content-group {
    padding-bottom: 30px;
  }
  .Scroll .scrollarea.reference-of-abnormal {
    max-height: 460px;
  }
  /* Q11.血圧 */
  .answer .content dt.blood-pressure{
    min-width: 120px;
  }

  /* Q12.LDLコレステロール、中性脂肪 */
  .answer .content dt.cholesterol{
    min-width: 240px;
  }
}
